home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS05.ADF
/
text
/
amigatricks
next >
Wrap
Text File
|
1986-01-15
|
1KB
|
33 lines
Posted: 86-01-22 13:26:39 EST Unread
From: rweiner
Subject: AmigaDos tricks
To: amigados
Text:
The following tricks may be of interest to CLI/AmigaDos users.
1. First, you can move a file to another directory without performing
a copy then delete. Use the RENAME command and specify the pathname
as part of the destination string.
For example:
rename lottahelp newdir/lottahelp
Moves the file 'lottahelp' to another directory called 'newdir'.
You can even give the file a different name. BUT-BUT-BUT, you can
only move files from one device to another location ON THE SAME
DEVICE. You cannot move a file from RAM: to DF1:, etc.
2. It is possible to set the system date/time by redirecting
the stdin. But, you have to fool DATE by doing the following.
DATE <newinfile [>nil:] ?
The [] parameter is optional (do not included the '[' ']'
symbols). It will redirect the output of the DATE command to
the nil: device.
The '?' is used to fool the date command into using
'newinfile' as the input for DATE.